package com.itheima.test3.mapper;

import com.itheima.test3.entity.Subject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 试题表 Mapper 接口
 * </p>
 *
 * @author itheima
 * @since 2021-03-28
 */
public interface SubjectMapper extends BaseMapper<Subject> {

//    @Select("SELECT name from t_course where id = #{id}")
    String getCourseName(int id);
}
